<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <footer th:fragment="leftBar">
        <!-- Sidebar Header-->
        <div class="sidebar-header d-flex align-items-center" th:each="eo : ${user}">
            <div class="avatar"><img th:src="@{${eo.userImgurl}}" alt="..." class="img-fluid rounded-circle"></div>
            <div class="title">
                <h1 class="h5" th:text="${eo.userName}">Mark Stephen</h1>
                <p>超级管理员</p>
            </div>
        </div>
        <span class="heading">Main</span>
        <ul class="list-unstyled">
            <li class="active"><a th:href="@{/sys/}"> <i class="icon-home"></i>首页 </a></li>
            <li><a href="#starBook" aria-expanded="false" data-toggle="collapse"> <i class="icon-windows"></i>用户管理</a>
                <ul id="starBook" class="collapse list-unstyled ">
                    <li><a th:href="@{/sys/user?id=0}">用户管理</a></li>

                </ul>
            </li>
            <li><a href="#book" aria-expanded="false" data-toggle="collapse"> <i class="icon-pencil-case"></i>书籍管理</a>
                <ul id="book" class="collapse list-unstyled ">
                    <li><a th:href="@{/sys/bookInfo?id=0}">小说信息管理</a></li>
                    <li><a th:href="@{/sys/bookType?id=0}">小说类型管理</a></li>
                    <li><a th:href="@{/sys/bookChapter?id=0}">小说章节管理</a></li>
                </ul>
            </li>
            <li><a href="#systemConfig" aria-expanded="false" data-toggle="collapse"> <i class="icon-controls"></i>系统配置</a>
                <ul id="systemConfig" class="collapse list-unstyled ">
                    <li><a th:href="@{#}">轮播图配置</a></li>
                    <li><a th:href="@{#}">定时任务配置</a></li>
                </ul>
            </li>
            <li><a href="#bookConfig" aria-expanded="false" data-toggle="collapse"> <i class="icon-controls"></i>小说爬取</a>
                <ul id="bookConfig" class="collapse list-unstyled ">
                    <li><a th:href="@{#}">爬取小说</a></li>
                </ul>
            </li>
            <li><a href="#logConfig" aria-expanded="false" data-toggle="collapse"> <i class="icon-controls"></i>日志管理</a>
                <ul id="logConfig" class="collapse list-unstyled ">
                    <li><a th:href="@{/sys/loginInfo?id=0}">用户登录日志管理</a></li>
                    <li><a th:href="@{/sys/starInfo?id=0}">系统日志管理</a></li>
                </ul>
            </li>
<!--            <li><a href="login.html"> <i class="icon-logout"></i>登陆页面 </a></li>-->
        </ul>
    </footer>
</head>
<body>

</body>
</html>